<?php
/**
 * @Author: Ron Chen
 * @Date:   2017-02-26 15:44:18
 * @Last Modified by:   Ron Chen
 * @Last Modified time: 2017-02-26 16:02:21
 */
use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>

<div class="car-brand-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>
    
    <div class="row">
        <div class="col-md-3">
            <?= $form->field($model, 'pre') ?>
        </div>
        <div class="col-md-3">
            <?= $form->field($model, 'title') ?>
        </div>
    </div>
    
    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
